<header class="main-header">
    <a href="/manager/${sys}" class="logo">
      <span class="logo-mini"><b>蹭一族</b></span>
      <span class="logo-lg"><b>蹭一族</b>代理商后台</span>
    </a>
    <nav class="navbar navbar-static-top" role="navigation">
      <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
        <span class="sr-only">Toggle navigation</span>
      </a>

      <div class="navbar-custom-menu">
        <ul class="nav navbar-nav">
          
          <!-- User Account: style can be found in dropdown.less -->
          <li class="dropdown user user-menu">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              
              <span class="hidden-xs">
              		${Session.session_admin_user['username']}
              </span>
            </a>
            <ul class="dropdown-menu">
              <!-- User image -->
              <li class="user-header">
                <img src="/static/dist/img/default-user.png" class="img-circle" alt="User Image">

                <p>
                 ${Session.session_admin_user['username']}
                  <small>
                  	注册日期：${Session.session_admin_user['time']}
                  </small>
                </p>
              </li>
              
              <!-- Menu Footer-->
              <li class="user-footer">
                <div class="pull-left">
                  <a href="#" class="btn btn-default btn-flat">修改密码</a>
                </div>
                <div class="pull-right">
                  <a href="/manager/${sys}/logout" class="btn btn-default btn-flat">退出</a>
                </div>
              </li>
            </ul>
          </li>
          <!-- Control Sidebar Toggle Button -->
          <li>
            <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
          </li>
        </ul>
      </div>
    </nav>
  </header>
  <script>
	  	var sys = "${sys}";
		var path = "";
		<#if path??>
			path = "${path}";
		</#if>
 		var changePwdFun =function(){
 			var dialog = parent.sy.modalDialog({
			title : '修改密码',
			width : '400',
			height : '400',
			url : '/manager/${sys}/go/pwdEdit',
			buttons : [ {
					text : '保存',
					handler : function() {
						dialog.find('iframe').get(0).contentWindow.submitForm(dialog, '', parent.$);
					}
				} ]
			});
 		}
		
  </script>